#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main(void)
{
	int x, y;

	puts(" 	|	 1	2	3	4	5	6	7	8	9");
	puts("----------------------------------------------------------------------------------");

	for (y = 1; y <= 9; y++) {
		x = 1;
		printf("%d	|	",y);
		for (; x <= 9; x++) {
			printf("%d	", x * y);
			if (x == 9) printf("\n");
		}
	}
	return 0;
}